package io.wins.vertx.service;

import io.vertx.core.Vertx;
import io.vertx.core.eventbus.Message;
import io.wins.vertx.entity.Carousel;
import io.wins.vertx.service.impl.CarouselServiceImpl;

public interface CarouselService {
    String SERVICE_ADDRESS = "carousel.service";
    static CarouselService create(final Vertx vertx) {return new CarouselServiceImpl(vertx);}
    CarouselService getCarouselById(final String id, final Message tMessage);
    CarouselService listCarousel(final Message tMessage);
    CarouselService createCarousel(final Carousel carousel, Message tMessage);
    CarouselService updateCarousel(final Carousel carousel, Message tMessage);
    CarouselService deleteCarousel(final String id, Message tMessage);
    
}
